﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace WadViewer.Configuration
{
	public sealed class AzureConnectionsSection : ConfigurationSection
	{
		// Declare a collection element represented 
		// in the configuration file by the sub-section
		// <urls> <add .../> </urls> 
		// Note: the "IsDefaultCollection = false" 
		// instructs the .NET Framework to build a nested 
		// section like <urls> ...</urls>.
		[ConfigurationProperty("connections",
				IsDefaultCollection = true)]
		public AzureConnectionCollection AzureConnections
		{
			get
			{
				var collection =  base["connections"];
				return (AzureConnectionCollection) collection;
			}
		}
	}
}
